<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>transition-property</title>
    <style>
        .box {
            width: 200px;
            height: 200px;
            background-color: orange;
            /* 设置那个属性需要过度效果 */
            transition-property: all;
            /* 设置过度时间 */
            transition-duration: 1s;
        }
        .box:hover {
            width: 400px;
            height: 400px;
            background-color: green;
            transform: rotate(45deg);
            opacity: 0.5;
            box-shadow: 0px 0px  20px black;
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>